import webapp2
from google.appengine.api import taskqueue

class MainPage(webapp2.RequestHandler):
	def get(self):
		taskqueue.add(url='/send', params={})
		self.response.headers['Content-Type'] = 'text/plain'
		self.response.write('scheduling tasks...')

app = webapp2.WSGIApplication([('/', MainPage)],
                              debug=True)
